﻿@model EntityFrameworkSample.Models.StudentViewModel
@{
    ViewBag.Title = "CreateStudent";
}

<h2>CreateStudent</h2>

@using (Html.BeginForm())
{
    <div>
        @Html.LabelFor(m => m.FirstName)<br />
        @Html.TextBoxFor(m => m.FirstName)
    </div>
    <div>
        @Html.LabelFor(m => m.LastName)<br />
        @Html.TextBoxFor(m => m.LastName)
    </div>
    <div>
        <input type="submit" value="Create Student" />
    </div>
}